﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 病假单
    /// </summary>
    public partial class MzysTbBjd
    {
        public int Id { get; set; }
        /// <summary>
        /// 挂号流水号
        /// </summary>
        public int? Regno { get; set; }
        /// <summary>
        /// 患者编号
        /// </summary>
        public int? Hzbh { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? Sex { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public int? Age { get; set; }
        /// <summary>
        /// 病历卡号
        /// </summary>
        public string? BlCardNum { get; set; }
        /// <summary>
        /// 诊断名称
        /// </summary>
        public int? RestDay { get; set; }
        /// <summary>
        /// 休假日
        /// </summary>
        public int? LeaveDay { get; set; }
        /// <summary>
        /// 工作日
        /// </summary>
        public int? WorkDay { get; set; }
        /// <summary>
        /// 休息天数
        /// </summary>
        public string? RestDayNum { get; set; }
        /// <summary>
        /// 请假天数
        /// </summary>
        public string? LeaveDayNum { get; set; }
        /// <summary>
        /// 工作天数
        /// </summary>
        public string? WorkDayNum { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 医师
        /// </summary>
        public string? Doctor { get; set; }
        /// <summary>
        /// 盖章
        /// </summary>
        public string? Seal { get; set; }
        /// <summary>
        /// 盖章时间
        /// </summary>
        public DateTime? SealTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? State { get; set; }
        /// <summary>
        /// 病假单类型
        /// </summary>
        public int? Type { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string? CreName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreTime { get; set; }
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool? DelFlag { get; set; }
        /// <summary>
        /// 病情 重症 轻症
        /// </summary>
        public int? Condition { get; set; }
        /// <summary>
        /// 医生级别
        /// </summary>
        public int? DoctorLevel { get; set; }
        /// <summary>
        /// 诊断编码
        /// </summary>
        public string? Diagnose { get; set; }
        /// <summary>
        /// 诊断名称
        /// </summary>
        public string? DiagnoseName { get; set; }
        /// <summary>
        /// 医生姓名
        /// </summary>
        public string? DoctorName { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int? HospitalCode { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CardNo { get; set; }
    }
}
